package kz.pompei.OneGwt.cmodel;

public class CommonUtil {
  public static boolean isEmpty(String str) {
    if (str == null) return true;
    return str.trim().length() == 0;
  }
  
  public static boolean isDefined(String str) {
    if (str == null) return false;
    return str.trim().length() > 0;
  }
}
